<!DOCTYPE html>
<html>
    <head>
        <meta content="text/html;charset=UTF-8"/>
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
        <meta http-equiv="Pragma" content="no-cache"/>
        <meta http-equiv="Cache-Control" content="no cache"/>
        <meta http-equiv="Expires" content="0"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
        <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
        <meta name="apple-mobile-web-app-capable" content="yes"/>
        <meta name="format-detection" content="telephone=no"/>
        <script src="https://cdn.bootcss.com/pace/1.0.2/pace.min.js"></script>
        <link href="https://cdn.bootcss.com/pace/1.0.2/themes/pink/pace-theme-flash.css" rel="stylesheet">
        <link rel="stylesheet" type="text/css" href="../../plugins/layui/css/layui.css" media="all"/>
        <link rel="stylesheet" type="text/css" href="../../css/fs.css" media="all"/>
        <script type="text/javascript" src="../../plugins/layui/layui.js"></script>
        <script type="text/javascript" src="../../plugins/jquery/jquery.min.js"></script>
        <script type="text/javascript" src="../../plugins/frame/js/fsDict.js?v=1.5.0"></script>
        <script type="text/javascript" src="../../plugins/frame/js/fs.js?v=1.5.0"></script>
        <script type="text/javascript" src="../../plugins/frame/js/frame.js?v=1.5.0"></script>
        <script type="text/javascript" src="../../scripts/basic.js"></script>
    </head>
    <body>
        <div class="layui-fluid">
            <form class="layui-form" isLoad="1" loadUrl="sys/dept/info">
                <input type="text" style="display: none;" name="deptId"/>
                <div class="layui-form-item">
                    <label class="layui-form-label">组织编码：</label>
                    <div class="layui-input-inline">
                        <input type="text" name="deptNum" required="" lay-verify="required" placeholder="请输入组织编码"
                               autocomplete="off" class="layui-input"/>
                    </div>
                    <label class="layui-form-label">组织名称：</label>
                    <div class="layui-input-inline">
                        <input type="text" name="deptName" required="" lay-verify="" placeholder="请输入组织名称"
                               autocomplete="off" class="layui-input"/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">组织类型：</label>
                    <div class="layui-input-inline">
                        <select name="deptType" lay-verify="required" lay-verType="required" class="fsSelect" dict="deptType"
                                addNull="1">
                        </select>
                    </div>
                    <label class="layui-form-label">所属机构：</label>
                    <div class="layui-input-inline">
                        <input type="text" name="parentName" required="" lay-verify=""
                               autocomplete="off" class="layui-input" disabled=""/>
                    </div>
                </div>
                <div class="layui-form-item" style="display: none">
                    <label class="layui-form-label">所属机构ID：</label>
                    <div class="layui-input-block">
                        <input type="text" name="parentId" required="" placeholder="" autocomplete="off"
                               class="layui-input" disabled=""/>
                    </div>
                </div>
                <hr/>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit="" lay-filter="submit" url="sys/dept/update">保存</button>
                        <button type="button" class="layui-btn layui-btn-primary" function="close">关闭</button>
                    </div>
                </div>
            </form>

        </div>
    </body>
</html>
